import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        component: () => import("../views/TchLogin")
    },
    {
        path: '/TchCourse',
        component: () => import("../views/TchCourse")
    },
    {
        path: '/TchMain',
        component: () => import("../views/TchMain")
    },
    {
        path: '/TchWork',
        component: () => import("../views/TchWork")
    },
    {
        path: '/TchAddWork',
        component: () => import("../views/TchAddWork")
    },
    {
        path: '/TchSeeWork',
        component: () => import("../views/TchSeeWork")
    }
]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router
